//------------------------------------------------------------------------------
// <copyright file="ServiceAccount.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
//------------------------------------------------------------------------------

namespace WatchDog.ServiceProcess {
   using System;
    
	/// <summary>Specifies a service's security context, which defines its logon type.</summary>
	public enum ServiceAccount
	{
		/// <summary>An account that acts as a non-privileged user on the local computer, and presents anonymous credentials to any remote server.</summary>
		LocalService = 0,
		/// <summary>An account that provides extensive local privileges, and presents the computer's credentials to any remote server.</summary>
		NetworkService = 1,
		/// <summary>An account, used by the service control manager, that has extensive privileges on the local computer and acts as the computer on the network.</summary>
		LocalSystem = 2,
		/// <summary>An account defined by a specific user on the network. Specifying <see langword="User" /> for the <see cref="P:System.ServiceProcess.ServiceProcessInstaller.Account" /> member causes the system to prompt for a valid user name and password when the service is installed, unless you set values for both the <see cref="P:System.ServiceProcess.ServiceProcessInstaller.Username" /> and <see cref="P:System.ServiceProcess.ServiceProcessInstaller.Password" /> properties of your <see cref="T:System.ServiceProcess.ServiceProcessInstaller" /> instance.</summary>
		User = 3,
	}
}    
  